import request from '../utils/request'

// 设置个人信息
export function onGetUserPoint(data) {
  return request.get({
      url: 'User.Trade/getUserPoint',
      data
  })
}

//  处理用户积分充值
export function onDoRecharge(data) {
  return request.post({
      url: 'User.Trade/doRecharge',
      data
  })
}

// 充值记录
export function onRecord(data) {
  return request.get({
      url: 'User.Trade/record',
      data
  })
}



// 支付调起接口
export function onDoMemberRecharge(data) {
    return request.post({
        url: 'User.Member/doMemberRecharge',
        data
    })
}


// 支付调起接口
export function onGetMemberVipPrice(data) {
    return request.get({
        url: 'User.member/getMemberVipPrice',
        data
    })
}

// 会员协议
export function getVipAgreement(data) {
    return request.get({
        url: 'User.member/getVipAgreement',
        data
    })
}
